<template>
	<view class="empty-item">
		<!-- 使用props接收的mode值 -->
		<uv-empty :mode="mode" icon=""></uv-empty>
	</view>
</template>

<script>
	export default {
		name: "notHave",
		props: {
			mode: {
				type: String,
				default: "order" // 设置默认值
			}
		},
		data() {
			return {};
		}
	}
</script>

<style lang="less">
	.empty-item {
		margin-top: 50rpx;
	}
</style>